/*
 * @Author: cmd
 * @we_chat: cmd_develop
 * @qq群: 790373986
 * @LastEditors: cmd
 * @Description: 
 * @Date: 2019-03-18 17:15:50
 * @LastEditTime: 2019-03-22 11:12:21
 */
import orc_config from './orc_config';
import orc_data from './orc_data';
import orc_utils from './orc_utils';
import orc_net from './orc_net';
import orc_event from './orc_event';
import orc_sound from './orc_sound';
import orc_win from './orc_win';
import {event_id} from './orc_declare/declare_data';

class orc{
    public static orc_config:any = orc_config;   
    public static orc_data:any = orc_data;    
    public static orc_utils:any = orc_utils;
    public static orc_net:any = orc_net;    
    public static orc_event:any = orc_event;     
    public static orc_win:any = orc_win;
    public static orc_sound:any = orc_sound;
    

    public static log(value1:any,value2?:any,value3?:any,value4?:any)
    {
        if(orc_config.console === true)
        {
            if(value2 == undefined)
            {
                console.log(value1);
            }
            else if(value2 != undefined)
            {
                console.log(value1,value2);
            }
            else if(value3 != undefined)
            {
                console.log(value1,value2,value3);
            }
            else if(value4 != undefined)
            {
                console.log(value1,value2,value3,value4);
            }            
        }
        else
        {
            
        }
    }
}

window["orc"] = orc;
window["event_id"] = event_id;
